package cn.sjxy.config.mvcExtend;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)  // 运行时保留注解信息
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface NeedUserLogin {
    boolean required() default true;
}
